<?php
namespace app\models\user;

use app\admin\model\BaseModel;
use app\admin\model\ModelTrait;

class WechatUser extends BaseModel
{
    use ModelTrait;
    
    public static function UserHas($openid)
    {
        return empty(self::where("openid",$openid)->count());
    }

}
